package com.semidata.rtd.core.executor;

import java.util.concurrent.Future;

import com.semidata.rtd.core.job.Task;

public interface TaskExecutor {

    public <T> Future<T> submit(Task<T> task, TaskCompleteHandler<T> handler);

    public void start();

    public void stop();
    
}
